<%@ page contentType="text/xml;charset=GBK"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Map"%>
<%@ page import="java.math.BigDecimal"%>
<%@ page import="util.Util"%>
<%
    List stock=(List)request.getAttribute("stock");
%>
<?xml version="1.0" encoding="GBK"?>
<message>
<% for(int i=0;i<stock.size();i++)
   {Map prow=(Map)stock.get(i);
%>
   
<tr>
   <td><%=prow.get("clogogram")%></td>
   <td style="display:none"><input type="text" size="8" name="pronumber" value="<%=prow.get("pnumber")%>" style="border:0px;" readonly="true"/></td>
   <td><%=prow.get("pname")%></td>
   <td><%=prow.get("punit")%></td>
   <td><%=prow.get("wname")%><input type="hidden" name="warenumber" value="<%=prow.get("wnumber")%>"/></td>
   <td><%=Util.getD(((BigDecimal)prow.get("samount")).doubleValue())%></td>
   <td><input type="text" size="8" name="amount"/><input type="hidden" name="unitPrice" value="<%=prow.get("sunitprice")%>"/></td>
</tr>
<%
   }
%>
</message>